package com.tiancheng.trade.authserver.vo;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Set;

@Getter
@Setter
@Accessors(chain = true)
public class UserAddUpdateVO {
    @NotNull(message = "id不能为空")
    private String id;
    @NotNull(message = "name不能为空")
    private String name;
    private String email;
    private String password;
    /**
     * 密码有效天数
     */
    private Integer passwordValidDays;
    private String phone;
    private String avatar;
    /**
     * 0启用,1禁用
     */
    private Integer status;
    private Set<Long> roleIds;
}
